package vip.sweet.biz.modular.cultural.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.sql.Date;

/**
 * @author ASUS
 * @Date 2025/10/4 18:12
 * @Descripition
 */
@TableName("biz_cultural_events")
@Schema(description = "业务逻辑文化活动实体类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BizCulturalEvents {
    @Schema(description = "事件ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(description = "活动标题")
    private String title;
    @Schema(description = "活动内容")
    private String description;
    @Schema(description = "活动时间")
    private Date date;
    @Schema(description = "活动地点")
    private String location;
    @Schema(description = "活动创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private  Date createTime;
    @Schema(description = "活动更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
